<?xml version='1.0' encoding='ISO-8859-1' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
    </h:head>
    <h:body>
        <ui:composition template="/WEB-INF/facelets/templates/template_login.xhtml">
            <ui:define name="center">
                <p:panel id="olvidoClave"  style="width: 280px;">
                    <p:growl id="estadoClave" sticky="true" showDetail="true"/>
                    <h:panelGrid columns="2" styleClass="textoAcceso">

                        <h:outputLabel for="nombreUsuario" value="(*)Usuario "/>
                        <h:panelGroup>
                            <p:inputText id="nombreUsuarioC" required="true" size="25" title="Maximo 40 caracteres" >
                                <f:validateLength minimum="10" maximum="40"/>
                            </p:inputText>
                            <p:tooltip for="nombreUsuarioC" showEvent="focus" hideEvent="blur"/>
                            <p:message for="nombreUsuarioC" display="icon"/>
                        </h:panelGroup>

                        <h:outputLabel  value="(*)Nueva Clave "/>                    
                        <h:panelGroup>
                            <p:keyboard id="claveC" password="true" required="true" size="18" maxlength="16" title="Maximo 16 caracteres" label="Clave" />                           
                        </h:panelGroup><br/>  
                        <!--p:password id="pwd2" value="#" label="Password 2" required="true"/-->
                        <p:commandButton value="Cambiar" id="accesoUsuarioC"  global="false" style="margin-left:5px;" update="estadoClave">
                        </p:commandButton>                          
                    </h:panelGrid>               
                </p:panel>
            </ui:define>
        </ui:composition>

    </h:body>
</html>